package com.lenovo.manufacture.net;


import java.util.Map;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface ApiService {
    String BASE_URl = "http://39.96.26.90:8086/Interface/";

    @POST("UserFactory/getInfo")
    Call<Results> getInfo(@Body Map<String, Object> json);

    @POST("UserFactory/updateLightSwitch")
    Call<Results> updateLightSwitch(@Body Map<String, Object> json);

    @POST("UserFactory/updateAcSwitch")
    Call<Results> updateAcSwitch(@Body Map<String, Object> json);

    @POST("Person/getAll")
    Call<Results> getAllPerson();

    @POST("index/getMaterial")
    Call<Results> getMaterial();

    @POST("index/addUserMaterialStore")
    Call<Results> addMaterial(@Body Map<String, Object> json);

    @POST("UserLine/search")
    Call<Results> userLineSearch(@Body Map<String, Object> json);

    @POST("UserPosition/search")
    Call<Results> userPositionSearch(@Body Map<String, Object> json);

    @POST("CarType/getAll")
    Call<Results> getCarType();

    @POST("UserQuality/getAll")
    Call<Results> userQuality();

    @POST("UserCarStore/getAll")
    Call<Results> userCarStore();

    @POST("index/addUserPosition")
    Call<Results> addUserPosition(@Body Map<String, Object> json);

    @POST("UserSellOutLog/getAll")
    Call<Results> getSellOutLog();

    @POST("Information/getAll")
    Call<Results> getAllInfo();

    @POST("UserAppointment/create")
    Call<Results> createOrder(@Body Map<String, Object> json);

    @POST("UserAppointment/getAll")
    Call<Results> getAllOrder();

    @POST("index/createStudentLine")
    Call<Results> createLine(@Body Map<String, Object> json);

    @POST("UserPlStep/search")
    Call<Results> searchUserPlStep(@Body Map<String, Object> json);

    @POST("UserPlStepInfo/getInfo")
    Call<Results> getUserPlStepInfo(@Body Map<String, Object> json);

    @POST("UserLine/getAll")
    Call<Results> getAllUserLine();
}
